home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995…tember: Reference Library / Dev.CD Sep 95 RL / Dev.CD Sep 95 RL.toast / mac / Technical Documentation / develop / develop Issue 23 code / Documentary Synchronicity ƒ / Interface ƒ / Document.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-10  |  699 b   |  28 lines  |  [TEXT/KAHL]

  1. #ifndef __DOCUMENT__
  2. #define __DOCUMENT__
  3.  
  4. #ifndef __WINDOWS__
  5. #include <Windows.h>
  6. #endif
  7.  
  8. #ifndef __EVENTS__
  9. #include <Events.h>
  10. #endif
  11.  
  12. #define kIconFamily 1
  13.  
  14. #if STRICT_WINDOWS
  15. void DoContentClick(WindowRef aWindow, EventRecord *anEvent);
  16. void DoDrawDocument(WindowRef aWindow);
  17. OSErr DoWriteDocument(WindowRef aWindow, short aDFRefNum);
  18. OSErr DoReadDocument(WindowRef aWindow);
  19. OSErr DoRemoveDocumentData(WindowRef aWindow);
  20. #else
  21. void DoContentClick(WindowPtr aWindow, EventRecord *anEvent);
  22. void DoDrawDocument(WindowPtr aWindow);
  23. OSErr DoWriteDocument(WindowPtr aWindow, short aDFRefNum);
  24. OSErr DoReadDocument(WindowPtr aWindow);
  25. OSErr DoRemoveDocumentData(WindowPtr aWindow);
  26. #endif
  27.  
  28. #endif